package com.training.java.core.collections.car.post15;

import java.util.LinkedHashSet;
import java.util.Set;

public class StudentLinkedHashSetDemo {

	public static void main(String[] args) {
		Set<String> studentNames = new LinkedHashSet<String>();

		studentNames.add("Satya");
		studentNames.add("Suneetha");
		studentNames.add("Sushmita");
		studentNames.add("Ravi");
		studentNames.add("Ronnie");
		studentNames.add("Sushmita");
		studentNames.add("Reenu");

		for (String name : studentNames) {
			System.out.println("name: " + name);
		}

	}

}
